<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
  <head>
    <base href="<%=basePath%>">  
    <title>首页</title>
  </head>
  <script type="text/javascript">
  
  function a()
  {
    alert("99");

  }

  
  </script>
  <body>
    <table style="width: 100%" border="1">
      <tr>
        <td width="50%" height="230px">
          <div>
            <span style="font-family: Microsoft YaHei;font-size: 20px;">企业公告</span>
            <div>
              <ul>
                <c:forEach items="${requestScope.noticeList}"  var="n">
                <li>
                 <a title="${n.noticeTitle}"  href="noticeController.do?detail&id=${n.id}"><font color="#ff00" style="font-family: Microsoft YaHei;font-size: 18px;"> <b>${n.noticeTitle}</b></font></a>
                  [<fmt:formatDate value='${n.publishDate}'  pattern='MM-dd'/>]
                </li> 
                </c:forEach>
              </ul>
            </div>
          </div>
        </td>
        <td width="50%" height="230px">
          <div>
            <span style="font-family: Microsoft YaHei;font-size: 20px;">会议通知</span>
            <div>
               <ul>
                <c:forEach items="${requestScope.meetingList}"  var="m">
                <li>
                 <a title="${m.meetingTitle}" href="meetingController.do?detail&id=${m.id}"><font color="#ff00" style="font-family: Microsoft YaHei;font-size: 18px;"><b>${m.meetingTitle}</b></font></a>
                 [<fmt:formatDate value='${m.publishDate}'  pattern='MM-dd'/>]
                </li>
                </c:forEach>
              </ul>
            </div>
          </div>
        </td>
      </tr>
        <tr>
        <td width="50%" height="230px"></td>
        <td width="50%" height="230px"></td>
      </tr>
    </table>
  </body>
</html>
